package com.service;

import com.pojo.Rent;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RentService {

    List<Rent> list();

    int add(Rent rent);

    int update(int id);

    List<Rent> findlist(String carNum);
}
